package com.lengxf.design;

import com.lengxf.design.image.GIFImage;
import com.lengxf.design.image.Image;
import com.lengxf.design.image.ImageImp;
import com.lengxf.design.os.WindowsImp;

public class Client {

    public static void main(String[] args) {
        Image image = new GIFImage();
        // case 获取对应的imp
        ImageImp imp = new WindowsImp();
        image.setImp(imp);
        image.parseFile("被解析的文件");
    }

}
